Tag: hash table
-
BinarySearch 0001 Sum of Two Numbers (09 Apr 2022)
-
BinarySearch 0012 Longest Sublist with K Distinct Numbers (09 Apr 2022)
-
BinarySearch 0028 A Unique String (09 Apr 2022)
-
BinarySearch 0061 Recurring Character (09 Apr 2022)
-
BinarySearch 0073 Sudoku Solver (09 Apr 2022)
-
BinarySearch 0078 Zero Matrix (09 Apr 2022)
-
BinarySearch 0083 Most Frequent Subtree Sum (09 Apr 2022)
-
BinarySearch 0105 Remove Duplicate Numbers (09 Apr 2022)
-
BinarySearch 0112 Longest Zero Sublist Sum (09 Apr 2022)
-
BinarySearch 0116 H-Index (09 Apr 2022)
-
BinarySearch 0120 Sudoku Validator (09 Apr 2022)
-
BinarySearch 0130 Longest Consecutive Sequence (09 Apr 2022)
-
BinarySearch 0144 Sort by Permutation (09 Apr 2022)
-
BinarySearch 0149 No New Friends (09 Apr 2022)
-
BinarySearch 0157 Diagonal Sort (09 Apr 2022)
-
BinarySearch 0166 Minimum Deletions From the Ends for Equilibrium (09 Apr 2022)
-
BinarySearch 0167 Subsequence Sum (09 Apr 2022)
-
BinarySearch 0215 Happy Numbers (09 Apr 2022)
-
BinarySearch 0224 Pythagorean Triplets (09 Apr 2022)
-
BinarySearch 0233 Roomba (09 Apr 2022)
-
BinarySearch 0235 Ancient Astronaut Theory (09 Apr 2022)
-
BinarySearch 0243 Remove Duplicates in Linked List (09 Apr 2022)
-
BinarySearch 0248 Top View of a Tree (09 Apr 2022)
-
BinarySearch 0256 Common Words (09 Apr 2022)
-
BinarySearch 0267 Mixed Sorting (09 Apr 2022)
-
BinarySearch 0271 Roomba Sequel (09 Apr 2022)
-
BinarySearch 0274 Equivalent Value and Frequency (09 Apr 2022)
-
BinarySearch 0279 String Isomorphism (09 Apr 2022)
-
BinarySearch 0281 City Blocks (09 Apr 2022)
-
BinarySearch 0283 8-Puzzle (09 Apr 2022)
-
BinarySearch 0289 Smallest Difference (09 Apr 2022)
-
BinarySearch 0296 Leaderboard (09 Apr 2022)
-
BinarySearch 0307 Word Formation Sequel (09 Apr 2022)
-
BinarySearch 0317 K and -K (09 Apr 2022)
-
BinarySearch 0320 Largest Anagram Group (09 Apr 2022)
-
BinarySearch 0326 Detect Voter Fraud (09 Apr 2022)
-
BinarySearch 0352 Number of Sublists With Sum of Target (09 Apr 2022)
-
BinarySearch 0364 K Unique String (09 Apr 2022)
-
BinarySearch 0396 Remove Last Duplicate Entries (09 Apr 2022)
-
BinarySearch 0398 DDoS Protection (09 Apr 2022)
-
BinarySearch 0407 Decimal Number (09 Apr 2022)
-
BinarySearch 0418 Anagram Substrings (09 Apr 2022)
-
BinarySearch 0434 Rotation Groups (09 Apr 2022)
-
BinarySearch 0436 Longest Substring with 2 Distinct Characters (09 Apr 2022)
-
BinarySearch 0447 Lone Integer (09 Apr 2022)
-
BinarySearch 0451 Split List Into Strictly Increasing Chunks (09 Apr 2022)
-
BinarySearch 0454 Number of Quadruplets That Sum Target (09 Apr 2022)
-
BinarySearch 0456 Fleet of Palindromes (09 Apr 2022)
-
BinarySearch 0463 Count of Sublists with Same First and Last Values (09 Apr 2022)
-
BinarySearch 0498 K Distinct Window (09 Apr 2022)
-
BinarySearch 0508 Count Next Element (09 Apr 2022)
-
BinarySearch 0514 Reverse Sublists to Convert to Target (09 Apr 2022)
-
BinarySearch 0522 Minimum String (09 Apr 2022)
-
BinarySearch 0526 K Longest Show Durations (09 Apr 2022)
-
BinarySearch 0530 Unique Fractions (09 Apr 2022)
-
BinarySearch 0550 Unique Integers in Sorted List (09 Apr 2022)
-
BinarySearch 0583 List Splitting to Consecutive Subsequences (09 Apr 2022)
-
BinarySearch 0584 Distinct Islands (09 Apr 2022)
-
BinarySearch 0587 Tree Sum Count (09 Apr 2022)
-
BinarySearch 0588 Kth Missing Number (09 Apr 2022)
-
BinarySearch 0590 Repeated String Replacement to Targe (09 Apr 2022)
-
BinarySearch 0595 Subsequence Match Target (09 Apr 2022)
-
BinarySearch 0600 Column Flips to Target (09 Apr 2022)
-
BinarySearch 0620 Minimum Adjacent Elements (09 Apr 2022)
-
BinarySearch 0628 Longest Substring with Character Count of at Least K (09 Apr 2022)
-
BinarySearch 0650 Column Flips to Maximum Number of Equal Rows (09 Apr 2022)
-
BinarySearch 0664 Missing Numbers From 1 to N (09 Apr 2022)
-
BinarySearch 0667 Number of Fractions that Sum to 1 (09 Apr 2022)
-
BinarySearch 0681 Team Voting (09 Apr 2022)
-
BinarySearch 0706 Smallest Intersecting Element (09 Apr 2022)
-
BinarySearch 0725 Least Recently Used Cache (09 Apr 2022)
-
BinarySearch 0726 Least Frequently Used Cache (09 Apr 2022)
-
BinarySearch 0735 Trie (09 Apr 2022)
-
BinarySearch 0738 Sum of Two Numbers - Online Version (09 Apr 2022)
-
BinarySearch 0739 Hash Table (09 Apr 2022)
-
BinarySearch 0740 Set (09 Apr 2022)
-
BinarySearch 0754 Arithmetic Sequence Permutation (09 Apr 2022)
-
BinarySearch 0755 Historical Map (09 Apr 2022)
-
BinarySearch 0760 Prefix with Equivalent Frequencies (09 Apr 2022)
-
BinarySearch 0761 Shortest Sublist With Max Frequency (09 Apr 2022)
-
BinarySearch 0767 Frequency Stack (09 Apr 2022)
-
BinarySearch 0771 Piece Grouping (09 Apr 2022)
-
BinarySearch 0777 Task Run (09 Apr 2022)
-
BinarySearch 0778 Highest Volume Stocks (09 Apr 2022)
-
BinarySearch 0795 Number Stream to Intervals (09 Apr 2022)
-
BinarySearch 0798 Almost Same Strings (09 Apr 2022)
-
BinarySearch 0802 Circular Cyclic Loop (09 Apr 2022)
-
BinarySearch 0805 Binary Sublist with Target Sum (09 Apr 2022)
-
BinarySearch 0843 Number of Operations to Decrement Target to Zero (09 Apr 2022)
-
BinarySearch 0851 Rate Limiter (09 Apr 2022)
-
BinarySearch 0858 Sum of Two Numbers in BSTs (09 Apr 2022)
-
BinarySearch 0859 Earliest Uniques in a Stream (09 Apr 2022)
-
BinarySearch 0887 Longest Arithmetic Subsequence with Difference Constraint (09 Apr 2022)
-
BinarySearch 0896 Underground Tunnel (09 Apr 2022)
-
BinarySearch 0905 Remove Half of the List (09 Apr 2022)
-
BinarySearch 0909 Largest Elements in Their Row and Column (09 Apr 2022)
-
BinarySearch 0927 Word Distance Queries (09 Apr 2022)
-
BinarySearch 0928 Tic Tac Toe (09 Apr 2022)
-
BinarySearch 0938 Number of Substrings with Single Character Difference (09 Apr 2022)
-
BinarySearch 0940 Stack of Stacks (09 Apr 2022)
-
BinarySearch 0953 Swap Characters Once to Minimize Differences (09 Apr 2022)
-
BinarySearch 0960 Virtual Boolean Array (09 Apr 2022)
-
BinarySearch 0964 Unique People in Contact List (09 Apr 2022)
-
BinarySearch 0968 Characters in Each Bracket Depth (09 Apr 2022)
-
BinarySearch 0971 Mutual Followers (09 Apr 2022)
-
BinarySearch 0995 Equivalent Product Pairs (09 Apr 2022)
-
BinarySearch 1001 Pair Sums to Power of Two (09 Apr 2022)
-
BinarySearch 1006 Generate Anagram Substrings (09 Apr 2022)
-
BinarySearch 1027 Longest Prefix Sequence (09 Apr 2022)
-
BinarySearch 1028 Validate Delivery Orders (09 Apr 2022)
-
BinarySearch 1035 Distance Sums (09 Apr 2022)
-
Leetcode 0001. Two Sum (09 Apr 2022)
-
Leetcode 0018. 4Sum (09 Apr 2022)
-
Leetcode 0030. Substring with Concatenation of All Words (09 Apr 2022)
-
Leetcode 0036. Valid Sudoku (09 Apr 2022)
-
Leetcode 0037. Sudoku Solver (09 Apr 2022)
-
Leetcode 0049. Group Anagrams (09 Apr 2022)
-
Leetcode 0073. Set Matrix Zeroes (09 Apr 2022)
-
Leetcode 0126. Word Ladder II (09 Apr 2022)
-
Leetcode 0128. Longest Consecutive Sequence (09 Apr 2022)
-
Leetcode 0136 Single Number (09 Apr 2022)
-
Leetcode 0137. Single Number II (09 Apr 2022)
-
Leetcode 0146 LRU Cache (09 Apr 2022)
-
Leetcode 0149. Max Points on a Line (09 Apr 2022)
-
Leetcode 0159 Longest Substring with At Most Two Distinct Characters (09 Apr 2022)
-
Leetcode 0166 Fraction to Recurring Decimal (09 Apr 2022)
-
Leetcode 0170 Two Sum III - Data structure design (09 Apr 2022)
-
Leetcode 0187. Repeated DNA Sequences (09 Apr 2022)
-
Leetcode 0202 Happy Number (09 Apr 2022)
-
Leetcode 0205. Isomorphic Strings (09 Apr 2022)
-
Leetcode 0208 Implement Trie (Prefix Tree) (09 Apr 2022)
-
Leetcode 0217. Contains Duplicate (09 Apr 2022)
-
Leetcode 0219 Contains Duplicate II (09 Apr 2022)
-
Leetcode 0220. Contains Duplicate III (09 Apr 2022)
-
Leetcode 0242. Valid Anagram (09 Apr 2022)
-
Leetcode 0244 Shortest Word Distance II (09 Apr 2022)
-
Leetcode 0246. Strobogrammatic Number (09 Apr 2022)
-
Leetcode 0249. Group Shifted Strings (09 Apr 2022)
-
Leetcode 0266. Palindrome Permutation (09 Apr 2022)
-
Leetcode 0274. H-Index (09 Apr 2022)
-
Leetcode 0288. Unique Word Abbreviation (09 Apr 2022)
-
Leetcode 0311 Sparse Matrix Multiplication (09 Apr 2022)
-
Leetcode 0314. Binary Tree Vertical Order Traversal (09 Apr 2022)
-
Leetcode 0318. Maximum Product of Word Lengths (09 Apr 2022)
-
Leetcode 0325. Maximum Size Subarray Sum Equals k (09 Apr 2022)
-
Leetcode 0336. Palindrome Pairs (09 Apr 2022)
-
Leetcode 0340. Longest Substring with At Most K Distinct Characters (09 Apr 2022)
-
Leetcode 0348. Design Tic-Tac-Toe (09 Apr 2022)
-
Leetcode 0349 Intersection of Two Arrays (09 Apr 2022)
-
Leetcode 0350 Intersection of Two Arrays II (09 Apr 2022)
-
Leetcode 0352. Data Stream as Disjoint Intervals (09 Apr 2022)
-
Leetcode 0355 Design Twitter (09 Apr 2022)
-
Leetcode 0356. Line Reflection (09 Apr 2022)
-
Leetcode 0358. Rearrange String k Distance Apart (09 Apr 2022)
-
Leetcode 0359. Logger Rate Limiter (09 Apr 2022)
-
Leetcode 0379. Design Phone Directory (09 Apr 2022)
-
Leetcode 0380. Insert Delete GetRandom O(1) (09 Apr 2022)
-
Leetcode 0381. Insert Delete GetRandom O(1) - Duplicates allowed (09 Apr 2022)
-
Leetcode 0387 First Unique Character in a String (09 Apr 2022)
-
Leetcode 0389 Find the Difference (09 Apr 2022)
-
Leetcode 0395. Longest Substring with At Least K Repeating Characters (09 Apr 2022)
-
Leetcode 0409. Longest Palindrome (09 Apr 2022)
-
Leetcode 0432. All O`one Data Structure (09 Apr 2022)
-
Leetcode 0437. Path Sum III (09 Apr 2022)
-
Leetcode 0438 Find All Anagrams in a String (09 Apr 2022)
-
Leetcode 0447 Number of Boomerangs (09 Apr 2022)
-
Leetcode 0448 Find All Numbers Disappeared in an Array (09 Apr 2022)
-
Leetcode 0451 Sort Characters By Frequency (09 Apr 2022)
-
Leetcode 0454. 4Sum II (09 Apr 2022)
-
Leetcode 0457 Circular Array Loop (09 Apr 2022)
-
Leetcode 0460. LFU Cache (09 Apr 2022)
-
Leetcode 0496 Next Greater Element I (09 Apr 2022)
-
Leetcode 0498. Diagonal Traverse (09 Apr 2022)
-
Leetcode 0500 Keyboard Row (09 Apr 2022)
-
Leetcode 0506 Relative Ranks (09 Apr 2022)
-
Leetcode 0508 Most Frequent Subtree Sum (09 Apr 2022)
-
Leetcode 0519 Random Flip Matrix (09 Apr 2022)
-
Leetcode 0522 Longest Uncommon Subsequence II (09 Apr 2022)
-
Leetcode 0523 Continuous Subarray Sum (09 Apr 2022)
-
Leetcode 0525. Contiguous Array (09 Apr 2022)
-
Leetcode 0531. Lonely Pixel I (09 Apr 2022)
-
Leetcode 0533 Lonely Pixel II (09 Apr 2022)
-
Leetcode 0535. Encode and Decode TinyURL (09 Apr 2022)
-
Leetcode 0554. Brick Wall (09 Apr 2022)
-
Leetcode 0560 Subarray Sum Equals K (09 Apr 2022)
-
Leetcode 0567 Permutation in String (09 Apr 2022)
-
Leetcode 0575. Distribute Candies (09 Apr 2022)
-
Leetcode 0588 Design In-Memory File System (09 Apr 2022)
-
Leetcode 0594. Longest Harmonious Subsequence (09 Apr 2022)
-
Leetcode 0599 Minimum Index Sum of Two Lists (09 Apr 2022)
-
Leetcode 0609. Find Duplicate File in System (09 Apr 2022)
-
Leetcode 0624 Maximum Distance in Arrays (09 Apr 2022)
-
Leetcode 0635 Design Log Storage System (09 Apr 2022)
-
Leetcode 0645. Set Mismatch (09 Apr 2022)
-
Leetcode 0648 Replace Words (09 Apr 2022)
-
Leetcode 0652 Find Duplicate Subtrees (09 Apr 2022)
-
Leetcode 0653. Two Sum IV - Input is a BST (09 Apr 2022)
-
Leetcode 0659 Split Array into Consecutive Subsequences (09 Apr 2022)
-
Leetcode 0676 Implement Magic Dictionary (09 Apr 2022)
-
Leetcode 0677. Map Sum Pairs (09 Apr 2022)
-
Leetcode 0692 Top K Frequent Words (09 Apr 2022)
-
Leetcode 0694. Number of Distinct Islands (09 Apr 2022)
-
Leetcode 0697 Degree of an Array (09 Apr 2022)
-
Leetcode 0705. Design HashSet (09 Apr 2022)
-
Leetcode 0706. Design HashMap (09 Apr 2022)
-
Leetcode 0710 Random Pick with Blacklist (09 Apr 2022)
-
Leetcode 0720 Longest Word in Dictionary (09 Apr 2022)
-
Leetcode 0734 Sentence Similarity (09 Apr 2022)
-
Leetcode 0737 Sentence Similarity II (09 Apr 2022)
-
Leetcode 0748 Shortest Completing Word (09 Apr 2022)
-
Leetcode 0750 Number Of Corner Rectangles (09 Apr 2022)
-
Leetcode 0758 Bold Words in String (09 Apr 2022)
-
Leetcode 0760 Find Anagram Mappings (09 Apr 2022)
-
Leetcode 0771 Jewels and Stones (09 Apr 2022)
-
Leetcode 0773 Sliding Puzzle (09 Apr 2022)
-
Leetcode 0781 Rabbits in Forest (09 Apr 2022)
-
Leetcode 0791. Custom Sort String (09 Apr 2022)
-
Leetcode 0792. Number of Matching Subsequences (09 Apr 2022)
-
Leetcode 0811 Subdomain Visit Count (09 Apr 2022)
-
Leetcode 0822 Card Flipping Game (09 Apr 2022)
-
Leetcode 0833 Find And Replace in String (09 Apr 2022)
-
Leetcode 0890. Find and Replace Pattern (09 Apr 2022)
-
Leetcode 0895. Maximum Frequency Stack (09 Apr 2022)
-
Leetcode 0911 Online Election (09 Apr 2022)
-
Leetcode 0923. 3Sum With Multiplicity (09 Apr 2022)
-
Leetcode 0929. Unique Email Addresses (09 Apr 2022)
-
Leetcode 0953. Verifying an Alien Dictionary (09 Apr 2022)
-
Leetcode 0954. Array of Doubled Pairs (09 Apr 2022)
-
Leetcode 0963. Minimum Area Rectangle II (09 Apr 2022)
-
Leetcode 0966. Vowel Spellchecker (09 Apr 2022)
-
Leetcode 0970. Powerful Integers (09 Apr 2022)
-
Leetcode 0981. Time Based Key-Value Store (09 Apr 2022)
-
Leetcode 0982. Triples with Bitwise AND Equal To Zero (09 Apr 2022)
-
Leetcode 0987. Vertical Order Traversal of a Binary Tree (09 Apr 2022)
-
Leetcode 1001 Grid Illumination (09 Apr 2022)
-
Leetcode 1002. Find Common Characters (09 Apr 2022)
-
Leetcode 1048. Longest String Chain (09 Apr 2022)
-
Leetcode 1054. Distant Barcodes (09 Apr 2022)
-
Leetcode 1056 Confusing Number (09 Apr 2022)
-
Leetcode 1065 Index Pairs of a String (09 Apr 2022)
-
Leetcode 1072. Flip Columns For Maximum Number of Equal Rows (09 Apr 2022)
-
Leetcode 1086 High Five (09 Apr 2022)
-
Leetcode 1090. Largest Values From Labels (09 Apr 2022)
-
Leetcode 1122. Relative Sort Array (09 Apr 2022)
-
Leetcode 1128. Number of Equivalent Domino Pairs (09 Apr 2022)
-
Leetcode 1152 Analyze User Website Visit Pattern (09 Apr 2022)
-
Leetcode 1153 String Transforms Into Another String (09 Apr 2022)
-
Leetcode 1160. Find Words That Can Be Formed by Characters (09 Apr 2022)
-
Leetcode 1165 Single-Row Keyboard (09 Apr 2022)
-
Leetcode 1169 Invalid Transactions (09 Apr 2022)
-
Leetcode 1171. Remove Zero Sum Consecutive Nodes from Linked List (09 Apr 2022)
-
Leetcode 1172. Dinner Plate Stacks (09 Apr 2022)
-
Leetcode 1181 Before and After Puzzle (09 Apr 2022)
-
Leetcode 1189 Maximum Number of Balloons (09 Apr 2022)
-
Leetcode 1198 Find Smallest Common Element in All Rows (09 Apr 2022)
-
Leetcode 1202. Smallest String With Swaps (09 Apr 2022)
-
Leetcode 1207. Unique Number of Occurrences (09 Apr 2022)
-
Leetcode 1213 Intersection of Three Sorted Arrays (09 Apr 2022)
-
Leetcode 1218. Longest Arithmetic Subsequence of Given Difference (09 Apr 2022)
-
Leetcode 1224. Maximum Equal Frequency (09 Apr 2022)
-
Leetcode 1244 Design A Leaderboard (09 Apr 2022)
-
Leetcode 1329. Sort the Matrix Diagonally (09 Apr 2022)
-
Leetcode 1338. Reduce Array Size to The Half (09 Apr 2022)
-
Leetcode 1396. Design Underground System (09 Apr 2022)
-
Leetcode 1485 Clone Binary Tree With Random Pointer (09 Apr 2022)
-
Leetcode 1488 Avoid Flood in The City (09 Apr 2022)
-
Leetcode 1539. Kth Missing Positive Number (09 Apr 2022)
-
Leetcode 1554 Strings Differ by One Character (09 Apr 2022)
-
Leetcode 1570 Dot Product of Two Sparse Vectors (09 Apr 2022)
-
Leetcode 1612 Check If Two Expression Trees are Equivalent (09 Apr 2022)
-
Leetcode 1638 Count Substrings That Differ by One Character (09 Apr 2022)
-
Leetcode 1640. Check Array Formation Through Concatenation (09 Apr 2022)
-
Leetcode 1658. Minimum Operations to Reduce X to Zero (09 Apr 2022)
-
Leetcode 1679. Max Number of K-Sum Pairs (09 Apr 2022)
-
Leetcode 1711 Count Good Meals (09 Apr 2022)
-
Leetcode 1772 Sort Features by Popularity (09 Apr 2022)
-
Leetcode 1794 Count Pairs of Equal Substrings With Minimum Difference (09 Apr 2022)
-
Leetcode 1804 Implement Trie II (Prefix Tree) (09 Apr 2022)
-
Leetcode 1807. Evaluate the Bracket Pairs of a String (09 Apr 2022)
-
Leetcode 1836 Remove Duplicates From an Unsorted Linked List (09 Apr 2022)
-
Leetcode 1858 Longest Word With All Prefixes (09 Apr 2022)
-
Leetcode 1906. Minimum Absolute Difference Queries (09 Apr 2022)
-
Leetcode 1940 Longest Common Subsequence Between Sorted Arrays (09 Apr 2022)
-
Leetcode 2025. Maximum Number of Ways to Partition an Array (09 Apr 2022)
-
Leetcode 2121. Intervals Between Identical Elements (09 Apr 2022)